package ecmnext.business.event;

/***************************************************************/
/*                     SOFTWARE SECTION                        */
/***************************************************************/
/*
 * <p>Name: ECMNext</p>
 * <p>Description: Simulation of the platform of trading Software</p>
 * <p>Licence: General Public License</p>
 * <p>Organisation: EC Marseille</p>
 * <p>Persons involved in the project : group Plateforme de Trading</p>
 * <p>Current version: 1.0</p>
 */

/***************************************************************/
/*                 PlayerEvent CLASS SECTION                   */
/***************************************************************/

/**
 * <p>Title: PlayerEvent</p>
 * <p>Description : </p>
 * @author Xuewen YANG ET Antoine COUDERC
 * @version 1.0
 */

public class PlayerEvent {

  public static int PLAYER_ADDED = 0;
  public static int PLAYER_REMOVED = 1;

  private String playerName;
  private int event;

  public String getPlayerName() {
    return playerName;
  }

  public int getEvent() {
    return event;
  }

  public PlayerEvent(String playerName, int event) {
    this.playerName = playerName;
    this.event = event;
  }

}
